<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>node节点</title>
  <script>
    // 获取元素节点
    console.log(1)
    // 获取节点
    // console.log(document)
    // 文档之后加载页面
    window.onload = function () {
      var one = document.getElementById('one')
      console.log(one);
    }

  </script>
</head>

<body>
  hello
  <div id="one" class="two">
    div的文本
  </div>
  world
  <!-- 注释 -->


</body>

</html>